package zhtt.action04_namespace;

import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Actions;

/**
 * Created by zhtt on 2017/4/18.
 */
public class Namespace01 extends ActionSupport {

    @Action("/action04_namespace/index1")
    public String execute() {
        return SUCCESS;
    }

    @Actions({
            @Action("/action04_namespace/index1-1"),
            @Action("/action04_namespace/index1-2")
    })
    public String execute2() {
        return SUCCESS;
    }

}
